﻿<%@ Page Title="贵重药品采购查询" Language="C#" MasterPageFile="~/Master/MasterPage.master"
	AutoEventWireup="True" CodeBehind="HospitalHighPricedDrugs.aspx.cs" Inherits="Hospital_HospitalHighPricedDrugs" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
	<div id="tabnav">
		<ul>
			<li class="active"><a href="javascript:void(0);">贵重药品采购查询</a></li>
			<li><a href="HospitalHighPricedDrugsSetUp.aspx">贵重药品设置</a></li>
		</ul>
	</div>
	<div id="tabcontent">
		<table>
			<tr>
				<td align="right">
					通用名
				</td>
				<td align="left">
					&nbsp;<asp:TextBox ID="txtProductName" runat="server"></asp:TextBox>
				</td>
				<td align="right">
					剂型
				</td>
				<td align="left">
					&nbsp;<asp:TextBox ID="txtMedicineModelName" runat="server"></asp:TextBox>
				</td>
				<td align="right" style="width: 40px">
					规格
				</td>
				<td valign="middle" style="width: 300px">
					<asp:TextBox ID="txtOutlookc" runat="server"></asp:TextBox>
				</td>
			</tr>
			<tr>
				<td align="right">
					生产企业
				</td>
				<td align="left">
					<asp:TextBox ID="txtCompanyName_SC" runat="server"></asp:TextBox>
				</td>
				<td align="right">
					投标企业
				</td>
				<td align="left">
					<asp:TextBox ID="txtCompanyName_TB" runat="server"></asp:TextBox>
				</td>
				<td>
					&nbsp;
				</td>
				<td>
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					<asp:Button ID="btnQuery" runat="server" Text="查询" OnClick="btnQuery_Click" />
				</td>
			</tr>
		</table>
		<br />
		<asp:GridView ID="gvwInfo" runat="server" AutoGenerateColumns="False" EmptyDataText="暂无符合条件的数据！"
			Width="100%" CssClass="mainlist" OnRowCommand="gvwInfo_RowCommand">
			<Columns>
				<%--<asp:BoundField HeaderText="配送总量" DataField="DistributeCountSum" />
                <asp:BoundField HeaderText="采购总金额" DataField="PurchaseAmountSum" />
                <asp:BoundField HeaderText="入库总量" DataField="WarehouseCountSum" />
                <asp:BoundField HeaderText="入库总金额" DataField="WarehouseAmountSum" />--%>
				<asp:TemplateField HeaderText="序号">
					<ItemTemplate>
						<%#Container.DataItemIndex + 1 + AspNetPager1.PageSize * (AspNetPager1.CurrentPageIndex-1) %></ItemTemplate>
					<HeaderStyle Width="30px" />
				</asp:TemplateField>
				<asp:BoundField HeaderText="药品编号" DataField="ProcureCatalogID" Visible="False" />
				<asp:BoundField HeaderText="通用名" DataField="ProductName" />
				<asp:BoundField HeaderText="剂型" DataField="MedicineModelName" />
				<asp:BoundField HeaderText="规格" DataField="Outlookc" />
				<asp:BoundField HeaderText="单位" DataField="Unit" />
				<asp:BoundField HeaderText="包装" DataField="Pack" />
				<asp:BoundField HeaderText="装换系数" DataField="Factor" />
				<asp:BoundField HeaderText="质量层次" DataField="QualityLevel" />
				<asp:BoundField HeaderText="生产企业" DataField="CompanyName_SC" />
				<asp:BoundField HeaderText="投标企业" DataField="CompanyName_TB" />
				<asp:BoundField HeaderText="价格" DataField="ProcurePrice" DataFormatString="{0:F3}" />
				<asp:TemplateField HeaderText="详情">
					<ItemTemplate>
						<asp:LinkButton ID="lbnDetail" runat="server" CommandName="DierectByDtail" ToolTip="查看该条记录的详细信息"
							CommandArgument='<%# Eval("ProcureCatalogID") %>'>详情</asp:LinkButton>
					</ItemTemplate>
				</asp:TemplateField>
			</Columns>
		</asp:GridView>
		<div class="page">
			<webdiyer:AspNetPager ID="AspNetPager1" runat="server" OnPageChanged="AspNetPager1_OnPageChanged">
			</webdiyer:AspNetPager>
		</div>
		<br />
		<hz:HzButton ID="btnExcel" runat="server" CssClass="btn" Text="导出数据" OnClick="btnExcel_Click" />
	</div>
</asp:Content>
